package com.smart_campus.sys.common.upload;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author Alfred
 * @date 2020/6/11 15:43
 */
@ConfigurationProperties(prefix = "upload")
@Data
public class UploadProperties {

    private String baseUrl;

    /**
     * 允许类型
     */
    private List<String> allowTypes;
}
